-
Home
-
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
-
3.0.3
-
Code
-
Classes
- Prompt_Server
| Total Complexity |
51 |
| Dependencies |
3 |
| Dependents |
0 |
| Total lines |
472 |
| Lines of code |
281 |
| Logical lines of code |
119 |
| Comment lines |
111 |
| Methods |
11 |
| Properties |
5 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| record_prompt_usage() |
A |
43 |
15 |
52 |
| save_api_key() |
A |
42 |
10 |
51 |
| retrieve_prompts_from_server() |
A |
45 |
7 |
40 |
| get_prompts() |
S |
49 |
6 |
34 |
| forward_prompt() |
S |
48 |
3 |
34 |
| check_prompt_structure() |
S |
63 |
4 |
12 |
| register_routes() |
S |
48 |
1 |
42 |
| instance() |
S |
70 |
2 |
7 |
| init() |
S |
79 |
1 |
3 |
| __clone() |
S |
78 |
1 |
3 |
| __wakeup() |
S |
78 |
1 |
3 |